import base from '@/util/api/HttpBase.js';
import axios from '@/util/http.js';
const article = {
    // 获取景点评论 http://127.0.0.1:8000/comment/?id=1
    get_comment(params) { return axios.get(`${base.localhost}/comment/`, params) },
    // 发表景点评论 http://127.0.0.1:8000/comment/
    post_comment(params) { return axios.post(`${base.localhost}/comment/`, params); },
}
export default article;